const Mock = require('mockjs')

const data = Mock.mock({
	'items|45': [{
		'formID': '@integer(0, 99)',
		'formDecreaseType|1': ['关闭破产','停业整顿','经济性裁员',null],
		'formStartTotalNum|3': '@integer(0,9)',
		'formEndTotalNum|3': '@integer(0,9)',
		'formStartDate|8': '@integer(0,9)',
		'formEndDate|8': '@integer(0,9)',
		'formIsDecrease|1': ['是', '否'],
		'formFirstReason|1': ['产业结构调整','重大技术改革','自然减员','其他', null],
		'formExamineStatus|1': ['待市审批' , '待省审批' , '省审核通过' , '省上报国家'],
		'historyDate|8': '@integer(0,9)',
	}]
})

module.exports = [
	{
		url: '/enterprise/dataQuery/allQueryDataInfo',
		type: 'get',
		response: config => {
			// console.log(config.query.enterpriseID)

			const items = data.items
			return {
				code: 200,
				data: items
				
			}
		}
	}
]
